package com.zfzs.post.modules.agent.repository;

import com.zfzs.post.modules.agent.domain.AgentInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author ck
* @date 2019-08-07
*/
public interface AgentInfoRepository extends JpaRepository<AgentInfo, Long>, JpaSpecificationExecutor {
    //根据昵称查询
    AgentInfo findByNickName(String nickName);
}